package com.heaven1949.tmall.common.web.exception;

import com.heaven1949.tmall.common.core.dto.IResultCode;
import com.heaven1949.tmall.common.core.dto.ResultCode;

/**
 * @author zhangjian
 */
public class ValidException extends TmallException {

    public ValidException(IResultCode resultCode) {
        super(resultCode);
    }

    public ValidException(IResultCode resultCode, String... param) {
        super(resultCode, param);
    }

    public ValidException(String message) {
        super(message, ResultCode.PARAM_ERROR);
    }

    public ValidException(String message, IResultCode resultCode) {
        super(message, resultCode);
    }
}
